package com.example.design.proxy.statical.specialty;

import com.example.design.proxy.statical.specialty.proxy.SpecialtyProxy;
import com.example.design.proxy.statical.specialty.realsubject.LocalSpecialty;

/**
 * @Description 代理模式测试类
 * @ClassName ProxyTest
 * @Author Yumuhui
 * @Date 2020/5/14 0:19
 * @Version 1.0.0
 */
public class ProxyTest {

    public static void main(String[] args) {
        SpecialtyProxy proxy = new SpecialtyProxy(new LocalSpecialty());
        proxy.display();
    }
}
